#ifndef H_SKELETALACTOR
#define H_SKELETALACTOR

#include "actor.h"



class SkeletalActor: public Actor{

public:

    vector<Actor*>  bones;           //bone Actors
    Matrix4f*       boneTransforms;
    Matrix4f*       invBoneTransforms;

    SkeletalActor();
    virtual ~SkeletalActor();

    virtual void registerProperties();

    virtual void setup();

    virtual void drawSkeletal();
    virtual void drawCollision();

    virtual void trigger(Actor * other);

    virtual void update(double deltaTime);
    virtual void updateShaders();

    virtual void remove();
    virtual void create();
};
#endif // SKELETALACTOR
